if (document.getElementById('threadtitle')!=null){
var 
bbs5d6d_uid='00000'+discuz_uid;bbs5d6d_uid=bbs5d6d_uid.substring(bbs5d6d_uid.length-6,bbs5d6d_uid.length);bbs5d6d_uid=bbs5d6d_uid.substring(0,2)+'/'+bbs5d6d_uid.substring(2,4)+'/'+bbs5d6d_uid.substring(4,6);{var  yPic=$("postlist").getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic
[sp].src=="http://"+avatarurl+"customavatars/000/"+bbs5d6d_uid+"_avatar_middle.jpg"){yPic
[sp].src=avatarimg;yPic
[sp].width="120";$("f_post").getElementsByTagName("div")[0].innerHTML="<a href=\""+avatarlink+"\" target=\"_blank\" title=\""+avataralt+"\"><img src=\""+avatarimg+"\" width=\"120\" alt=\""+avataralt+"\" /></a>";}}
var  yUrl=$("postlist").getElementsByTagName("a");for(lj=0;lj<yUrl.length;lj++)
{
if (yUrl[lj].href== "http://"+window.location.host+"/space-uid-"+discuz_uid+".html")
{
yUrl[lj].href=avatarlink;
yUrl[lj].target="_blank";
yUrl[lj].title=avataralt;
}
}
}}